package com.jinghua.treatment.mapper;

import com.jinghua.treatment.entity.SysClinictime;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysClinictimeMapper {
    int deleteByPrimaryKey(Integer timeId);

    int insert(SysClinictime record);

    SysClinictime selectByPrimaryKey(Integer timeId);

    /**
     * 根据门诊编号获取门诊时间列表
     * @param clinicId
     * @return
     */
    List<SysClinictime> selectByClinicId(@Param("clinicId") Integer clinicId);

    int updateByPrimaryKey(SysClinictime record);
}